Declare GetAncestor() and define GA_PARENT if missing (MSVC6). (#311633)
authorTor Lillqvist <tml@novell.com>
Tue, 26 Jul 2005 20:42:18 +0000 (20:42 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 26 Jul 2005 20:42:18 +0000 (20:42 +0000)
2005-07-26  Tor Lillqvist  <tml@novell.com>

* gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT
if missing (MSVC6). (#311633)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkplug-win32.c

index cd17bd09400db81847f169d58d9a04008c367d4a..5403c10b90e20c1d908e950addf080e376ff73e8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-26  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT
+       if missing (MSVC6). (#311633)
+
 2005-07-26  Federico Mena Quintero  <federico@ximian.com>
 
        * perf/: New directory with the start of a framework for testing
index cd17bd09400db81847f169d58d9a04008c367d4a..5403c10b90e20c1d908e950addf080e376ff73e8 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-26  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT
+       if missing (MSVC6). (#311633)
+
 2005-07-26  Federico Mena Quintero  <federico@ximian.com>
 
        * perf/: New directory with the start of a framework for testing
index cd17bd09400db81847f169d58d9a04008c367d4a..5403c10b90e20c1d908e950addf080e376ff73e8 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-26  Tor Lillqvist  <tml@novell.com>
+
+       * gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT
+       if missing (MSVC6). (#311633)
+
 2005-07-26  Federico Mena Quintero  <federico@ximian.com>
 
        * perf/: New directory with the start of a framework for testing
index 329a7d8b766326abf7fd0156f8ee2b0d04e41902..bcbc5093a5fc1861cfab6ab9b74d1f79e4233aa4 100644 (file)
 
 #include "gtkwin32embed.h"
 
+#if defined(_MSC_VER) && (WINVER < 0x0500)
+#ifndef GA_PARENT
+#define GA_PARENT 1
+#endif
+WINUSERAPI HWND WINAPI GetAncestor(HWND,UINT);
+#endif
+
 GdkNativeWindow
 _gtk_plug_windowing_get_id (GtkPlug *plug)
 {